package com.szl.group.entity;

import com.szl.group.domain.BaseDO;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统角色表
 * </p>
 *
 * @author shenxl
 * @since 2020-06-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_role")
@ApiModel(value = "SysRoleDO对象", description = "系统角色表")
public class SysRoleDO extends BaseDO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色名称(汉字)")
    private String roleName;

    @ApiModelProperty(value = "角色描述")
    private String roleDesc;

    @ApiModelProperty(value = "角色的英文code.如：ADMIN")
    private String roleCode;

    @ApiModelProperty(value = "角色顺序")
    private Integer sort;

    @ApiModelProperty(value = "0表示可用")
    private Integer status;


}
